package com.central.apps.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.central.apps.entity.QuickSearch;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 快速搜索刀
 *
 * @author JHY
 * @date 2023/01/16
 */
@Mapper
public interface QuickSearchDao extends BaseMapper<QuickSearch> {

    /**
     * 查询所有
     *
     * @return {@link List}<{@link QuickSearch}>
     */
    Page<QuickSearch>  queryAll(Page<QuickSearch> page, @Param("keyword") String keyword);


}
